package org.csmzxy.class2334;

public class TV extends ElectricalApp{
    String type;
    public void turOn(){
        System.out.println("家电已打开");
    }
    public void print(){
        super.type = "电视机";
        type ="液晶电视";
        System.out.println("家电类型为"+super.type);
        System.out.println("电视机类型为"+type);
        super.turOn();
        turOn();
    }
}
